<div>
  <div class="modal-card">
    <label>
      仓库
    </label>
    <d-select [placeholder]="'请选择'" [options]="data.options" [scrollHight]="'160px'" class="form-input-box"
    [filterKey]="'warehouseName'" [valueKey]="'warehouseId'" [(ngModel)]="Position.warehouseId"></d-select>

  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!Position.positionName">*请选择仓库</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      仓位编码
    </label>
    <input type="text" dTextInput class="form-input-box" name="departmentCode" [(ngModel)]="positionNum" disabled>
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!positionNum">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      仓位名称
    </label>
    <input type="text" dTextInput class="form-input-box" name="name" [(ngModel)]="Position.positionName">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!Position.positionName">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      是否启用
    </label>
    <d-radio-group
      [name]="'item-group'"
      [values]="items"
      [direction]="'row'"
      [(ngModel)]="currentSelectedItem"
      (change)="valueChange($event)"
    >
    </d-radio-group>
  </div>
  <div class="modal-card mt-3 user">
    <label>
      代管人员
    </label>
    <input type="text" dTextInput class="form-input-box" name="name" (click)="positionData()" [(ngModel)]="name">
    <i class="icon icon-list-view" style="font-size: 16px;" (click)="positionData()"></i>
  </div>
</div>

